Hi all !
I already posted a similar issue here, but quite a bit has changed since, so I'll address my problem once again.
I upgraded my FFmpeg and had to rework some of my command lines. I'm having speed issues when trying to encode to WMV files. As a test, I input the movie Elephants Dream (in avi format). Problem is, the average encoding speed is about 10 fps. That wouldn't be "bad" in itself, but using my old command line on my old version of FFmpeg, the same encoding went twice as fast, with 20 fps average.
Here is the line I'm using right now :
Could anyone tell me if something strikes him/her as being a potential cause for a slow encoding (or, alternatively, tell me if anything is missing or utterly useless in said line) ?Code:-r 29.97 -vcodec wmv2 -b 8000k -bt 4000k -s 1280x720 -aspect 16:9 -ab 128k -ac 2 -acodec wmav2 -ar 44100 -b_strategy 2 -bf 0 -cmp +chroma -coder 1 -flags +loop -g 15 -i_qfactor 0.71 -me_range 32 -me_method epzs -qcomp 0.4 -qdiff 4 -qmin 3 -subcmp 2 -subq 8 -trellis 2
Maybe the problem comes from FFmpeg itself, maybe over time it got better and faster at encoding to mp4 files and slower at all the rest ? I've got the same issues with encodings to AVIs, and I figure if I can settle it with WMV I'll have a good idea what to do next.
Thanks a lot to anyone who can give me some insight !
+ Reply to Thread
Results 1 to 6 of 6
-
-
Do you have a multi-core processor? I don't see a -threads X defined.
-
Yeah, I just tried using that on my laptop (i5). It would just crash out of encoding (when adding -threads). I have never done any WMV encoding with ffmpeg (and have done VERY little with Windows Media Encoder/Essential). On my laptop I was getting 18-20 fps with your command line inputting an avs file doing a TIVTC + fft3dfilter + subtitling.
-
"-coder 1 -flags +loop -i_qfactor 0.71" are only valid for x264.
epzs is the default me method so that's not required.
-bt 4000k is the default also, it's not necessary to specify values when you want the default.
The wmv2 encoder in ffmpeg is very basic, so I don't know if any of your command line is useful.
Maybe this will help:
http://www.ffmpeg.org/ffmpeg.htmlLast edited by gregalan; 21st Jan 2011 at 21:18.
-
Thanks a lot gregalan. That's exactly the kind of info I was looking for ! I tested and it looks like you're right : the command lines with or without the options you mention yield the exact same result !
Unfortunately, unless I'm just way bad at figuring things out (which I doubt), the official FFmpeg documentation gives little to no useful advice on the matter. And serious developers often don't have (or take) the time to answer theses questions they seem to consider "n00bie questions"...Last edited by Klagar; 24th Jan 2011 at 13:01. Reason: Add details
Similar Threads
-
ffmpeg output 2gb limit? Is there one? ffmpeg stops encoding h264 @ 2gb
By BrainiakZ in forum Video ConversionReplies: 14Last Post: 30th Mar 2011, 12:04 -
[FFmpeg] Optimize WMV encoding
By Klagar in forum Video ConversionReplies: 4Last Post: 24th Nov 2010, 09:49 -
[Help] wmv to flv with ffmpeg
By Nightslk in forum Video ConversionReplies: 2Last Post: 4th Aug 2009, 12:52 -
changing video speed with ffmpeg ?
By jdetwile in forum Newbie / General discussionsReplies: 1Last Post: 6th Mar 2008, 14:23 -
Need a little help here (wmv/mov to flv with ffmpeg)
By yeauxyo in forum Video ConversionReplies: 1Last Post: 9th Jul 2007, 23:08